import request from '@/utils/request'

export function dashboardData(query) {
    return request({
        url: "admin/echarts/dashboardData",
        method: "get",
    })
}

export function getUserTrend() {
    return request({
        url: "admin/echarts/userTrend",
        method: "get",
    })
}
export function getPostTrend() {
    return request({
        url: "admin/echarts/postTrend",
        method: "get",
    })
}
export function getUserAgeGroup() {
    return request({
        url: "admin/echarts/userAgeGroup",
        method: "get",
    })
}
export function getActiveIndicators() {
    return request({
        url: "admin/echarts/activeIndicators",
        method: "get",
    })
}